<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
<head>
<title><?php echo $this->webSiteTitle;?></title>
<?php if ($this->webSiteKeywords):?>
<meta name="keywords" content="<?php echo $this->webSiteKeywords;?>"/>
<?php else:?>
<meta name="keywords" content="<?=KEYWORDS?>"/>
<?php endif;?>
<?php if ($this->webSiteDescription):?>
<meta name="description" content="<?php echo $this->webSiteDescription;?>"/>
<?php else:?>
<meta name="description" content="<?=DESCRIPTION?>"/>
<?php endif;?>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta http-equiv="x-ua-compatible" content="ie=emulateie7"/>
<?php echo $this->headMeta; ?>
<link type="text/css" rel="stylesheet" href="<?php echo MY_URL;?>/css/style.css?v=2012120612"/>
<link type="text/css" rel="stylesheet" href="<?php echo MY_URL;?>/css/<?php echo $this->styleName;?>.css?v=2012120612"/>
<?php if($this->otherStyleName):?>
<link type="text/css" rel="stylesheet" href="<?php echo MY_URL;?>/css/<?php echo $this->otherStyleName;?>.css?v=2012120612"/>
<?php endif;?>
<script type="text/javascript" src="<?=MY_URL?>/html/scripts/jquery-1.5.1.js"></script>
<script type="text/javascript">var ROOT_PATH="";var COOKIE_PRE="zcshop_";var CHOSING_DE="-";</script>
<script type="text/javascript" src="<?=MY_URL?>/html/scripts/common.js?v=2012120612"></script>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24125538-1']);
  _gaq.push(['_trackPageview']);
  (function() {
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
</head>
<body>
<div class="g-doc">
	<div class="g-hd">
    	<div class="best_header clearfix">
        	<script type="text/javascript" src="<?=MY_URL?>/html/scripts/kefu.js"></script>
        	<div class="f-like" id="fLikeDiv">
            	<fb:like href="<?php echo MY_URL?>" send="false" layout="button_count" show_faces="false" font="" width="80"></fb:like>
            </div>
            <div class="f-like" style="float: left;">
            	<g:plusone size="medium"></g:plusone>
            </div>
            <div class="f-like" style="float:left; width:auto;">
            	<div id="google_translate_element"></div>
            </div>
            <div class="user" style="width: 500px;">
            	<div class="uinfo">
                    <div class="spbg uinfo-left">                    
                    <?php if($this->member_type=="buyer"):?>
                        <a href="<?=MY_URL?>/adminb">My Account</a>
                        <a href="<?=MY_URL?>/adminb-order" class="spbg">My Order</a>
                        <a href="<?=MY_URL?>/auth-logout" class="spbg nar">Sign Out</a>
                    <?php elseif($this->member_type=="administrator"):?>
                    	<a href="<?=MY_URL?>/administrator">Admin</a>
                        <a href="" class="spbg"></a>
                        <a href="<?=MY_URL?>/administrator-auth-logout" class="spbg nar">Sign Out</a>
                    <?php else:?>
                    	<a href="<?=MY_URL?>/auth-login?preurl=<?=$this->shopCurUrl?>">Sign in</a>
                        <a href="<?=MY_URL?>/auth-register" class="spbg">Register</a>
                        <a href="<?=MY_URL?>/bulletin" class="spbg nar">Help</a>
                    <?php endif;?>
                    </div>
                    <div class="spbg uinfo-right"></div>
                </div>                
                <?php if($this->member_type=="buyer"):?>
	                <div class="hello">
	                    Hello, <a href="<?=MY_URL?>/adminb"><?php echo $this->nickname;?></a>
	                </div>
                <?php elseif($this->member_type=="administrator"):?>
                	<div class="hello">
                    	Hello, <a href="<?=MY_URL?>/administrator"><?php echo $this->username;?></a>
                    </div>
                <?php else:?>
                	<?php /*
                	<div class="hello" style="margin-top: 11px;">
                		<div style="float:left;margin-top: 4px;">Login with:</div>
	                    <div style="float: left;margin-right:5px;"><?php echo @file_get_contents(MY_URL . '/api-facebookapi');?></div> 
	                    <div style="float: left;"><?php echo @file_get_contents(MY_URL . '/api-twitterapi');?></div>
                    </div> */?>
                <?php endif;?>                
            </div>
        
        </div>
        <div class="m-hdbanner clearfix">
        	<div class="logo">
            	<a href="<?=MY_URL?>"></a>
            </div>
            <div class="hd-right">
            	<div class="clearfix buy-note">
                	<div class="buy-notice">
                    	<div class="notice-icon clearfix">
                            <a class="spbg3 n-buy365" href="/bulletin-more-itemid-1270/365_Days_Return_Policy/">365</a>
                            <span>Day Return Policy</span>
                        </div>
                        <div class="notice-info">
                        	In other words,1 full year!
                        </div>
                    </div>
                    <div class="buy-notice">
                    	<div class="notice-icon clearfix">
                            <a class="spbg3 n-shipping" href="/bulletin-more-itemid-1271/Free_Shipping_per_Order/">Free Shipping</a>
                            <span>Free Shipping per Order</span>
                        </div>
                        <div class="notice-info">
                        	It's always on the house!
                        </div>
                    </div>
                </div>
                <div class="search spbg">
                	<form action="/search-detail" method="get" id="search_form">    
                	<input type="text" class="search-input" name="keyword" value="<?php echo $this->keyword;?>"/> 
                    <a class="search-btn f-iblk" href="javascript:void(0)" onclick='$("#search_form").submit();'>Search</a>
                    </form>
                </div>
            </div>
        </div>
        <div class="m-nav">
        	<div class="w-lst w-lst-0 clearfix">
                <a class="<?php echo $this->select;?>" href="<?php echo MY_URL;?>">Home</a><span class="nav-bar f-blk spbg">&nbsp;</span>
                <?php $i = 0;?>
                <?php foreach ($this->navArray as $v):?>
                	<?php $i++;?>
                    <a class="<?php $cid = (isset($_REQUEST['cid'])) ? $_REQUEST['cid'] : 0;if($cid){if(preg_match("/cld-$cid-/", "{$v['url']}")) { echo 'cur'; }} elseif (strstr($_SERVER['REQUEST_URI'], $v['url'])) {echo 'cur';}?>" href="<?php echo $v['url']?>"><?php echo $v['name'];?></a><?php if ($i != count($this->navArray)):?><span class="nav-bar f-blk spbg">&nbsp;</span><?php endif;?>
                <?php endforeach;?>
            </div>
            <div class="nav-line">&nbsp;</div>
            <div class="shopping-cart">
            	<a class="f-iblk spbg" href="/product-showitem">Cart(<?php echo $this->showItemCounts?>)</a>
            </div>
        </div>
    </div>
    <div class="g-docbd">
    <div class="pop-search">
		<?php if($this->popSearch != '' ){ ?>
        Popular Search: <?php echo $this->popSearch;?>
        <?php }?>
    </div>
<?php echo $this->layout()->content;?>

<div class="w-blk0 w-blk-fthelp">
        <h2 class="blk0h2 clearfix">
            <span class="spbg blkhdl">&nbsp;</span>
            <span class="spbg blkhdr">&nbsp;</span>
        </h2>
        <div class="blkbody">
        	<div class="fthelp-box ft-box1">
            	<h2 class="blk0h2 ft-hd1">Interactive</h2>
                <ul>
                	<li><a href="http://www.facebook.com/pages/bestcheapjerseydeal/219030708116385" class="ft-facebook spbg-log f-blk" rel="nofollow">Join Us on Facebook</a></li>
                    <li><a href="http://twitter.com/#!/bestcheapjerseydeal" class="ft-twitter spbg-log f-blk" rel="nofollow">Follow Us on Twitter</a></li>
                    <li><a href="<?=MY_URL?>/rss-index-rss.xml" class="ft-tumblr spbg2 f-blk" rel="nofollow">Subscribe to RSS Feeds</a></li>
                    <li>E-mail us: <a href="mailto:housinghouse@live.cn">housinghouse@live.cn</a></li>
                </ul>
            </div>
            <div class="fthelp-box spbg">
            	<h2 class="blk0h2">My Account</h2>
                <ul>
                	<li><a href="<?php echo MY_URL?>/auth-login?preurl=/" rel="nofollow">Log In/Register</a></li>
                    <li><a href="<?php echo MY_URL?>/adminb" rel="nofollow">My Account</a></li>
                    <li><a href="<?php echo MY_URL?>/adminb" rel="nofollow">My Order History</a></li>
                    <li><a href="<?php echo MY_URL?>/product-showitem" rel="nofollow">My Shopping Cart</a></li>
                    <li><a href="<?php echo MY_URL?>/adminb" rel="nofollow">My Favorites</a></li>
                </ul>
            </div>
            <div class="fthelp-box spbg">
            	<h2 class="blk0h2">About</h2>
                <ul>
                	<li><a href="<?php echo MY_URL?>/bulletin-more-itemid-1266/About_bestcheapjerseydeal/"  rel="nofollow">About bestcheapjerseydeal</a></li>
                    <li><a href="<?php echo MY_URL?>/bulletin-more-itemid-1267/About_Payment/"  rel="nofollow">About payment</a></li>
                    <li><a href="<?php echo MY_URL?>/bulletin-more-itemid-1485/FAQ/"  rel="nofollow">F.A.Q</a></li>
                    <li>
                    	<a class="ft-visa spbg-log f-blk"  rel="nofollow">Visa</a>
                    	<a class="ft-master spbg-log f-blk"  rel="nofollow">Master</a>
                    	<a class="ft-jcb spbg-log f-blk"  rel="nofollow">JCB</a>
                    	<a class="ft-amepr spbg-log f-blk"  rel="nofollow">JCB</a>
                    </li>
                </ul>
            </div>
            <div class="fthelp-box spbg ft-box2">
            	<h2 class="blk0h2">Shop with Confidence</h2>
                <ul>
                	<li><a href="<?php echo MY_URL?>/bulletin-more-itemid-1268/Privacy_Policy/"  rel="nofollow">Privacy policy</a></li>
                    <li><a href="<?php echo MY_URL?>/bulletin-more-itemid-1269/Price_Guarantee/"  rel="nofollow">Price guarantee</a></li>
                    <li><a href="<?php echo MY_URL?>/bulletin-more-itemid-1270/365_Days_Return_Policy/"  rel="nofollow">365 days return policy</a></li>
                    <li><a href="<?php echo MY_URL?>/bulletin-more-itemid-1271/Free_Shipping_per_Order/"  rel="nofollow">Free shipping per order</a></li>
                    <li><a href="<?php echo MY_URL?>/bulletin-more-itemid-1272/Delivery_Guarantee/"  rel="nofollow">Delivery guarantee</a></li>
                </ul>
            </div>
            <div class="fthelp-box spbg">
            	<h2 class="blk0h2">More Info</h2>
				<ul>
                	<li><a href="<?php echo MY_URL?>/bulletin-more-itemid-1273/Size_Chart/"  rel="nofollow">Size chart</a></li>
                    <li><a href="<?php echo MY_URL?>/bulletin-more-itemid-1338/Maintain_your_jerseys/"  rel="nofollow">Maintain your jerseys</a></li>
                    <li><a href="<?php echo MY_URL?>/letter/A_1.html">Site Map</a></li>
                    <li><a href="http://blog.bestcheapjerseydeal.com">bestcheapjerseydeal's blog</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div style="width:150px;height:137px; position:fixed; bottom:15px; right:15px;"><a target="_blank" href="http://chat.5251.net/client.jsp?flag=1&companyId=8522&style=18846&locate=en"><img alt="live chat" src="<?php echo MY_URL?>/images/liveChat.png" /></a></div>
	</div>
</div>
<div class="g-ft clearfix">
	<div class="ft-pay-logo clearfix"><a class="ft-verisign spbg-log">Verisign Secured</a><a class="ft-mcafee spbg-log">Mcafee</a><a class="ft-norton spbg-log">Norton</a></div>
	<div>© 2009–2012 - bestcheapjerseydeal.com</div>
    <div>bestcheapjerseydeal.com is operated by bestcheapjerseydeal Development, Inc. Products on bestcheapjerseydeal.com are sold by bestcheapjerseydeal Retail, INC.</div>
    <?php if($this->hotkeywords && count($this->hotkeywords)>0){ ?>
    <div class="hotkeywords_title">bestcheapjerseydeal.com Most Popular Searches</div>
     <div class="hotkeywords">
     	<ul>
     		<?php foreach($this->hotkeywords as $hkw):?>
     		<li class="spbg2"><a href="<?php echo MY_URL?>/product/<?php echo $this->keyModel->encode($hkw['keyword'], 0);?>_1.html"><strong><?php echo $hkw['keyword'];?></strong></a></li>
     		<?php endforeach;?>
     	</ul>
     </div>
     <?php }?>
</div>
<script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'auto',
    autoDisplay: false,
    gaTrack: true,
    gaId: 'UA-24125538-1',
    layout: google.translate.TranslateElement.InlineLayout.SIMPLE
  }, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
</body>
</html>
